/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * C端的饭友表
 *
 * @author csg
 * @date 2021-08-14 13:41:01
 */
@Data
@TableName("fx_person_fy")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "C端的饭友表")
public class FxPersonFy extends Model<FxPersonFy> {
private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @TableId
    @ApiModelProperty(value="ID主键")
    private Long id;
    /**
     * 用户id
     */
    @ApiModelProperty(value="用户id")
    private Long perId;
    /**
     * 饭友ID
     */
    @ApiModelProperty(value="饭友ID")
    private Long fyId;
    /**
     * 分享ID
     */
    @ApiModelProperty(value="分享ID")
    private Long shareId;
    /**
     * 邀请类型 0优惠券 1卡
     */
    @ApiModelProperty(value="邀请类型 0优惠券 1卡")
    private Integer inviteType;
    /**
     * 和invite_type对应 0优惠券是cn_coupon_log 1卡待定
     */
    @ApiModelProperty(value="和invite_type对应 0优惠券是cn_coupon_log 1卡待定")
    private Long tatId;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createUser;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 0可用1删除
     */
	@TableLogic
    @ApiModelProperty(value="0可用1删除")
    private Integer delFlag;
    /**
     * 租户 ID 
     */
    @ApiModelProperty(value="租户 ID ",hidden=true)
    private Integer tenantId;
    }
